home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / mac / hypercrd / hc2_x / adrephon.sit / AddrePhone 1.0 / background_10627.txt < prev    next >
Text File  |  1991-02-05  |  1KB  |  55 lines

  1. -- background: 10627 from stack: in.0
  2. -- bmap block id: 9397
  3. -- flags: 0000
  4. -- background id: 0
  5. -- name: 
  6. ----- HyperTalk script -----
  7. function NumberOfIndex
  8. return the number of cards in this bg
  9. end NumberOfIndex
  10.  
  11.  
  12.  
  13. -- part 1 (field)
  14. -- low flags: 01
  15. -- high flags: 6007
  16. -- rect: left=8 top=27 right=337 bottom=449
  17. -- title width / last selected line: 0
  18. -- icon id / first selected line: 0 / 0
  19. -- text alignment: 0
  20. -- font id: 4
  21. -- text size: 12
  22. -- style flags: 0
  23. -- line height: 16
  24. -- part name: Quick list
  25. ----- HyperTalk script -----
  26. on mouseUp
  27.   put the scroll of fld id 1 into y
  28.   if the number of this card is 1 then
  29.     go card ((clickV()-14+y) div 16) in bg 1
  30.   else
  31.     go card id (line (clickV()-14+y) div 16 of cd fld id 3) in bg 1
  32.   end if
  33. end mouseUp
  34.  
  35.  
  36.  
  37.  
  38. -- part 6 (button)
  39. -- low flags: 00
  40. -- high flags: 0000
  41. -- rect: left=461 top=299 right=339 bottom=504
  42. -- title width / last selected line: 0
  43. -- icon id / first selected line: 20098 / 20098
  44. -- text alignment: 1
  45. -- font id: 0
  46. -- text size: 12
  47. -- style flags: 0
  48. -- line height: 16
  49. -- part name: go home
  50. ----- HyperTalk script -----
  51. on mouseUp
  52.   go home
  53. end mouseUp
  54.  
  55.